import request from 'utils/request.js'

// 请求博客列表数据
export function getTree(params) {
	return request(
		{
			url: 'admin/article/tree',
			method: 'GET'
		}
	)
}

// 请求博客详情数据
export function getArticleDetail(params) {
	return request(
		{
			url: 'admin/article/detail',
			method: 'GET',
			params: params
		}
	)
}